package grape.attend.rest.overtime.vo;
import grape.common.rest.vo.BaseIdVo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 加班工作日设置表
 * </p>
 *
 * @author yangwei
 * @since 2020-05-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="加班工作日设置表数据响应对象")
public class OvertimeWorkVo extends BaseIdVo<String> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "是否允许加班")
    private Boolean isAllowOvertime;

    @ApiModelProperty(value = "加班是否需要审批")
    private Boolean isApprove;

    @ApiModelProperty(value = "是否扣除休息时间")
    private Boolean isDeductRestTime;

    @ApiModelProperty(value = "休息时长分钟数")
    private Integer restTime;


    @ApiModelProperty(value = "最少加班（分）")
    private Integer atLeast;

    @ApiModelProperty(value = "最多加班（分）")
    private Integer atMost;

    @ApiModelProperty(value = "加班步长")
    private Integer step;

    @ApiModelProperty(value = "备注")
    private String remark;


}
